package io.nutz.demo.module;

import io.nutz.demo.filter.TestFilter;
import io.nutz.demo.processor.CustomizeFailProcessor;
import io.nutz.demo.processor.LogProcessor;
import io.swagger.annotations.Api;
import org.nutz.json.Json;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.nutz.mvc.annotation.*;

@Api("test")
@At("test")
@Ok("json:full")
@Fail("http:500")
@Filters({@By(type= TestFilter.class)})
public class TestModule {
    private Log log=Logs.get();
    @At("/test1")
    @Ok("raw")
    public String test1() {
        log.info("request test1");
        String result= "abc:122344";
        return result;
    }

    @At()
    @Ok("json:{locked:'password|data'}")
    public Object test2() {
        log.info("request test2");
        Object result=Json.fromJson("{\"code\":\"200\",\"data\":{\"NameList\":[\"marketing:promotion\",\"home:promotion:status\",\"home:promotion:status\",\"home:promotion:status\",\"home:promotion:status\",\"column:promotion:status\",\"column:promotion2:status\",\"column:promotion3:status\",\"system:label:import\",\"provider:distributor:add\",\"system:label:auto\",\"column:promotion1:find\",\"column:promotion2:find\",\"column:promotion3:find\",\"marketing:shop:find\",\"alert:shop:find\",\"activity:shop:find\",\"activity:area:find\",\"member:find\",\"alert:find\",\"exchange:find\",\"cooperation:find\",\"pay:find\",\"marketing:find\",\"marketinga:find\",\"integral-recommend-find\",\"home-recommend-find\",\"them:info:find\",\"them:info:del\",\"theme-recommend-del\",\"secon:find\",\"member:user:query\",\"market-push-find\",\"market-black-find\",\"market-push-addblack\",\"market-push-delblack\",\"provider:distributor:find\",\"provider:distributor:status\",\"column:SignFlow:find\",\"column:SignFlow:import\",\"member:level:update\",\"member:order:exportjf\",\"member:order:queryjf\",\"column:equity:find\",\"column:activity:find\",\"column:equity:import\",\"column:location:find\",\"column:car:label\",\"column:carbinding:find\",\"column:carbinding:import\",\"goods-category:update\",\"goods-category:del\",\"column:record:find1\",\"column:record:find2\",\"column:record:find5\",\"column:record:import2\",\"column:record:addAll\",\"mall:eval:reply\",\"o2o-service-control\",\"service:classify:update\",\"service:classify:del\",\"mall:eval:edit-reply\",\"merchant:settle-accounts\",\"service-provider:close:find\",\"column:card:find\",\"store:column:find\",\"car:vehicle:query1\",\"car:vehicle:query2\",\"car:vehicle:query3\",\"car:vehicle:query4\",\"card:activity:findone1\",\"marketing:receive-lie:query1\",\"receive-lie:import2\",\"marketing:use:shopqueryone\",\"marketing:use:import\",\"service-provider:column:find\",\"service-provide:shop:find2\",\"service-provide:shop:find1\",\"service:running-water:find1\",\"service:running-water:find2\",\"service:running-water:find3\",\"service:running-water:import1\",\"service:running-water:import2\",\"service:running-water-deal:find1\",\"service:running-water-deal:find2\",\"user:dictionaries:find\",\"service:running-water-deal:find3\",\"re-check:column:find\",\"bank:two:find\",\"appweb:service:add\",\"user:control:find\",\"user:role:find\",\"member:user:exportAll\",\"mall-recommend-type-find\",\"user:sevice-white:add\",\"user:sevice-white:find\",\"mall-commodity-add\",\"mall:eval:allEval\",\"mall:eval:essence\",\"mall:eval:cancelEssence\",\"o2o-service-add\",\"o2o:eval:allEval\",\"o2o:eval:essence\",\"o2o:eval:cancelEssence\",\"system:label:add\",\"system:label:edit\",\"member:user:customize\",\"market-push-export\",\"system:role:add\",\"mall:records:tour\",\"car:vehicle:export\",\"service:order:down\",\"stopbeans:ruls:stop\",\"stopbeans:recharge:exprot\",\"stopbeans:usage:export\",\"Integration:Integrationruls:query\",\"Integration:subsidiary:export\",\"member:level:query\",\"member:order:export\",\"card:column:findone\",\"receive-lie:import1\",\"marketing:use:shopimport\",\"system:user:add\",\"column:promotion:add\",\"marketing:add\",\"spellgroup:activity:create\",\"query-czjl\",\"rechage:show:batch\",\"column:record:find3\",\"mall:product:fahuofengge\",\"mall:product:shouhoufengge\",\"mall:product:tuikuanfengge\",\"mall:product:huanhuo\",\"o2o:product:fahuofengge\",\"o2o:product:zhuanshouhou\",\"o2o:product:tuikuanfengge\",\"alert:edit\",\"alert:add\",\"activity:find\",\"activity:add\",\"member:add\",\"recommend:add\",\"marketinga:add\",\" 0\",\"1\",\"commodity-control:find\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"home:column\",\"them:info:add\",\"column:promotion2:add\",\"column:promotion3:add\",\"marketing:shop:promotion\",\"marketing:shop:add\",\"alert:shop:add\",\"activity:shop:add\",\"integration:integrationruls:add\",\"integration:activity:add\",\"home:promotion:edit\",\"recharging:party:add\",\"exchange:add\",\"secon:add\",\"card:activity:duihuan\",\"card:column:find\",\"card:car:reset\",\"card:column:shopfind\",\"card:shop:reset\",\"pay:created\",\"mall:records:virtual\",\"cooperation:add\",\"activity:area:add\",\"market-wx-view\",\"Facilitator\",\"provider:park:serverItem:edit\",\"provider:park:query\",\"provider:gas:query\",\"provider:charge:serverItem:edit\",\"provider:charge:switch\",\"mall-recommend-type-add\",\"o2o-service-type-add\",\"np_bank_info_add\",\"facilitator:add\",\"facilitator:switch\",\"facilitator:edit\",\"facilitator:detail\",\"facilitator:updateInfo\",\"pay:created\",\"service:order:export\",\"shop:find\",\"marketing:promotion\",\"signFlow:find\",\"system:permission:add\",\"provider:distributor:update\",\"member:level:preorder\",\"column:activity:import\",\"column:location:importAll\",\"column:location:import\",\"column:record:find4\",\"column:record:import1\",\"column:record:import3\",\"column:record:import4\",\"column:record:import5\",\"merchant:order-record\",\"service-provider:order-record\",\"column:card:import\",\"store:column:join\",\"card:column:shopadd\",\"card:column:shoptop\",\"card:activity:findone2\",\"marketing:activity:out\",\"card:activity:update\",\"service:running-water:import3\",\"service:running-water-deal:import1\",\"user:dictionaries:add\",\"service:running-water-deal:import2\",\"service:running-water-deal:import3\",\"re-check:column:findone\",\"appweb:service:update\",\"theme-recommend-find\",\"marketing:code:add2\",\"provider:park:serverItem:export1\",\"provider:park:serverItem:import1\",\"provider:park:serverItem:import2\",\"provider:park:serverItem:export2\",\"home:promotion:del\",\"user:sevice-white:update\",\"parkingPane:pay-the-fees\",\"provider:pay-the-fees\",\"mall-commodity-type\",\"mall:eval:essenceEval\",\"mall:eval:filter\",\"o2o-service-export\",\"o2o:eval:essenceEval\",\"o2o:eval:filter\",\"system:label:create\",\"system:label:disable\",\"member:user:export\",\"market-push-add\",\"system:role:edit\",\"mall:records:shopcart\",\"car:vehicle:query\",\"service:order:writeoff\",\"stopbeans:ruls:del\",\"stopbeans:recharge:query\",\"stopbeans:usage:query\",\"Integration:Integrationruls:del\",\"Integration:activity:stop\",\"Integration:subsidiary:query\",\"member:level:del\",\"member:order:query\",\"marketing:cardrules:del1\",\"card:column:add\",\"marketing:receive-lie:query2\",\"marketing:use:queryone\",\"system:user:edit\",\"column:promotion:edit\",\"home:promotion:edit\",\"spellgroup:activity:show\",\"stopbeans:recharge:query\",\"mall:product:huanhuofengge\",\"service:order:query1\",\"o2o:product:zhuanshouhou\",\"o2o:product:bohuifengge\",\"alert:del\",\"recommend:del\",\"marketinga:del\",\"mall-recommend-reset\",\"shop:column\",\"my:column\",\"home:column\",\"shop:column\",\"them:iframe:add\",\"column:promotion2:edit\",\"column:promotion3:edit\",\"alert:shop:window\",\"home:shop:promotion:edit\",\"home:shop:promotion2:edit\",\"alert:shop:edit\",\"integration:integrationruls:query\",\"integration:activity:edit\",\"recharging:party:edit\",\"pay:edit\",\"secon:edit\",\"card:column:shopexport\",\"pay:switch\",\"home:promotion:edit\",\"home:shop:promotion3:edit\",\"market-wx-rule\",\"provider:carWash:serverItem:edit\",\"provider:gas:serverItem:edit\",\"provider:carWash:query\",\"provider:park:serverItem:manage\",\"provider:carWash:serverItem:manage\",\"provider:gas:serverItem:manage\",\"np_bank_info_update\",\"pay:edit\",\"shop:add\",\"home:promotion:del\",\"signFlow:add\",\"system:permission:edit\",\"home:promotion:status\",\"provider:distributor:delete\",\"member:level:send\",\"member:level:addpl\",\"column:car:stop\",\"column:merchant:find\",\"merchant:order-close\",\"service-provider:order-close\",\"column:card:close\",\"store:column:open\",\"card:column:top\",\"card:column:shopupdate\",\"card:column:shopfindone\",\"marketing:cardrules:del2\",\"card:activity:addlan\",\"card:activity:status\",\"user:dictionaries:update\",\"appweb:service:del\",\"exchange:activity:add3\",\"provider:park:serverItem:discounts1\",\"provider:park:serverItem:discounts2\",\"provider:park:serverItem:discounts3\",\"provider:park:serverItem:export3\",\"provider:park:serverItem:import3\",\"service-provide:shop:find3\",\"user:sevice-white:edit\",\"parkingPane:Card-detail\",\"provider:Card-detail\",\"mall-commodity-shelf\",\"mall:eval:filterEval\",\"o2o-service-shelf\",\"o2o:eval:filterEval\",\"system:label:del\",\"member:user:queryAll\",\"market-push-copy\",\"market-push-send\",\"system:role:del\",\"mall:records:buy\",\"mall:records:sale\",\"car:vehicle:reset\",\"service:order:after\",\"service:order:reset\",\"stopbeans:ruls:add\",\"stopbeans:recharge:reset\",\"stopbeans:usage:reset\",\"Integration:Integrationruls:add\",\"Integration:activity:del\",\"Integration:activity:add\",\"Integration:subsidiary:reset\",\"member:level:add\",\"member:order:reset\",\"marketing:receive:resert\",\"marketing:use:reset\",\"system:user:del\",\"column:promotion:del\",\"home:promotion:del\",\"spellgroup:activity:start\",\"member:promotion\",\"recommend:edit\",\"marketinga:edit\",\"them:iframe:edit\",\"column:promotion2:del\",\"column:promotion3:del\",\"activity:shop:promotion\",\"home:shop:promotion:del\",\"home:shop:promotion2:del\",\"alert:shop:del\",\"integration:integrationruls:del\",\"integration:activity:stop\",\"member:order:code\",\"recharging:party:switch\",\"pay:del\",\"secon:two:edit\",\"pay:edit\",\"home:promotion:del\",\"home:shop:promotion3:del\",\"provider:charge:serverItem:manage\",\"provider:park:switch\",\"provider:carWash:switch\",\"provider:gas:switch\",\"provider:carWash:edit\",\"provider:gas:edit\",\"np_bank_info_del\",\"pay:del\",\"marketing:add\",\"system:permission:del\",\"home:shop:promotion:status\",\"alert:shop:status\",\"home:shop:promotion2:status\",\"home:shop:promotion3:status\",\"column:car:img\",\"service:order:query2\",\"service:order:query3\",\"service-provider:accounts\",\"store:column:past\",\"card:column:update\",\"marketing:activity:del\",\"user:dictionaries:del\",\"mall-commodity-edit\",\"o2o-service-edit\",\"member:user:reset\",\"member:user:details\",\"market-push-view\",\"spellgroup:activity:stop\",\"marketing:activity:delete\",\"alert:window\",\"recommend:status\",\"marketinga:status\",\"member:order:shop\",\"column:promotion:configration\",\"integration:activity:del\",\"home:promotion:del\",\"marketing:activity:add1\",\"alert:status\",\"pay:status\",\"secon:status\",\"pay:del\",\"activity:area:promotion\",\"provider:charge:query\",\"provider:park:edit\",\"pay:switch\",\"marketing:activity:add\",\"recommend:find\",\"store:column:importAll\",\"service:order:export-card\",\"system:role:reset\",\"home:promotion:del\",\"mall-commodity-del\",\"o2o-service-del\",\"market-push-del\",\"spellgroup:activity:delete\",\"exchange:promotion\",\"exchange:promotion\",\"secon:del\",\"card:column:export\",\"provider:park:delete\",\"provider:carWash:add\",\"provider:charge:edit\",\"provider:carWash:serverItem:batchEditCode\",\"provider:gas:serverItem:batchEditCode\",\"Integration:activity:xq\",\"mall-commodity-export\",\"member:user:label\",\"activity:promotion\",\"pay:promotion\",\"pay:add\",\"secon:url\",\"member:batch:query\",\"provider:park:serverItem:syncData\",\"provider:park:serverItem:batchEditCode\",\"provider:park:serverItem:precedence\",\"provider:gas:serverItem:precedence\",\"provider:carWash:serverItem:precedence\",\"member:cooperation\",\"member:shop\",\"member:signFlow\",\"provider:carWash:delete\",\"provider:charge:delete\",\"provider:gas:delete\"],\"Column\":[{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"120603412700001\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"120603444100001\",\"link\":\"UserLabel\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"标签管理\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"120723003400001\",\"link\":\"ColumnManagement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"栏目管理\",\"sort\":2,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"121709936900001\",\"link\":\"ShopHomePromotion\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"商城推广配置\",\"sort\":3,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"120723006400001\",\"link\":\"HomePromotion\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120723006400001\",\"fatherRemark\":\"首页推广配置\",\"id\":\"1162182280341025080\",\"link\":\"marketing\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"顶部轮播\",\"sort\":1,\"type\":\"2\"}],\"remarks\":\"首页推广配置\",\"sort\":4,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"121727276400001\",\"link\":\"RecommendColumn\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"推荐栏目\",\"sort\":5,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"121727345600001\",\"link\":\"MarketingActivities\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"营销活动\",\"sort\":6,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"121733301800001\",\"link\":\"ShopRecommend\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"121733301800001\",\"fatherRemark\":\"购物推荐\",\"id\":\"1162182613662550469\",\"link\":\"ShopRecommend\",\"name\":\"member:find1\",\"permissionsList\":[],\"remarks\":\"首页推荐\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"121733301800001\",\"fatherRemark\":\"购物推荐\",\"id\":\"1162182618518345336\",\"link\":\"ShopRecommend\",\"name\":\"member:find1\",\"permissionsList\":[],\"remarks\":\"积分推荐\",\"sort\":2,\"type\":\"2\"}],\"remarks\":\"购物推荐\",\"sort\":7,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"121736031400001\",\"link\":\"CustomRecommend\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"自定义推荐\",\"sort\":8,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"157890861645842288\",\"link\":\"SecondaryPages\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"二级页面配置\",\"sort\":9,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"160886164925688671\",\"link\":\"PaymentMiddleware\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"支付营销\",\"sort\":9,\"type\":\"2\"},{\"fatherId\":\"120603412700001\",\"fatherRemark\":\"营销管理\",\"id\":\"120603451900001\",\"link\":\"MarketPush\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120603451900001\",\"fatherRemark\":\"营销推送\",\"id\":\"1162182654087095845\",\"link\":\"MarketPush\",\"name\":\"member:find1\",\"permissionsList\":[],\"remarks\":\"营销短信\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603451900001\",\"fatherRemark\":\"营销推送\",\"id\":\"1162182657854779807\",\"link\":\"MarketPush\",\"name\":\"member:find1\",\"permissionsList\":[],\"remarks\":\"黑名单\",\"sort\":1,\"type\":\"2\"}],\"remarks\":\"营销推送\",\"sort\":10,\"type\":\"2\"}],\"remarks\":\"营销管理\",\"sort\":1,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"1161544322539539303\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"1161544322539539303\",\"fatherRemark\":\"无感签约\",\"id\":\"1161544345009937955\",\"link\":\"distributor\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"渠道商管理\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"1161544322539539303\",\"fatherRemark\":\"无感签约\",\"id\":\"1161544347883143623\",\"link\":\"imperceptionSignFlow\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"无感签约记录\",\"sort\":2,\"type\":\"2\"}],\"remarks\":\"无感签约\",\"sort\":2,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"120603414100001\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120603414100001\",\"fatherRemark\":\"客户管理\",\"id\":\"120618995800001\",\"link\":\"MemberInquiry\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"客户查询\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603414100001\",\"fatherRemark\":\"客户管理\",\"id\":\"120619000900001\",\"link\":\"LevelSetting\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"权益设置\",\"sort\":2,\"type\":\"2\"},{\"fatherId\":\"120603414100001\",\"fatherRemark\":\"客户管理\",\"id\":\"120619013300001\",\"link\":\"MemberOrder\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"权益订单\",\"sort\":3,\"type\":\"2\"},{\"fatherId\":\"120603414100001\",\"fatherRemark\":\"客户管理\",\"id\":\"120802994900001\",\"link\":\"/preOrder\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120802994900001\",\"fatherRemark\":\"权益预购\",\"id\":\"1162182720996203119\",\"link\":\"preOrder\",\"name\":\"member:order:queryjf\",\"permissionsList\":[],\"remarks\":\"权益预购\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120802994900001\",\"fatherRemark\":\"权益预购\",\"id\":\"1162182724487086059\",\"link\":\"preOrder\",\"name\":\"member:order:queryjf\",\"permissionsList\":[],\"remarks\":\"活动预购\",\"sort\":1,\"type\":\"2\"}],\"remarks\":\"权益预购\",\"sort\":4,\"type\":\"2\"},{\"fatherId\":\"120603414100001\",\"fatherRemark\":\"客户管理\",\"id\":\"120619024700001\",\"link\":\"PositioningRecord\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"定位记录\",\"sort\":5,\"type\":\"2\"}],\"remarks\":\"客户管理\",\"sort\":5,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"120603415100001\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120603415100001\",\"fatherRemark\":\"车辆管理\",\"id\":\"120619028600001\",\"link\":\"VehicleInquiry\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"车辆查询\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603415100001\",\"fatherRemark\":\"车辆管理\",\"id\":\"121708870100001\",\"link\":\"CarCertification\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"车辆绑定\",\"sort\":3,\"type\":\"2\"}],\"remarks\":\"车辆管理\",\"sort\":7,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"120603418400001\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120603418400001\",\"fatherRemark\":\"电子商城\",\"id\":\"120619074400001\",\"link\":\"CommodityManagement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"商品管理\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603418400001\",\"fatherRemark\":\"电子商城\",\"id\":\"158495774661419359\",\"link\":\"CommodityTypeManage\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"商品分类管理\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603418400001\",\"fatherRemark\":\"电子商城\",\"id\":\"120619079100001\",\"link\":\"RecordManagement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"记录管理\",\"sort\":2,\"type\":\"2\"},{\"fatherId\":\"120603418400001\",\"fatherRemark\":\"电子商城\",\"id\":\"120619085200001\",\"link\":\"MallEvaluationManagement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"评价管理\",\"sort\":4,\"type\":\"2\"}],\"remarks\":\"电子商城\",\"sort\":8,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"120603419300001\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120603419300001\",\"fatherRemark\":\"服务商城\",\"id\":\"120619088500001\",\"link\":\"ServiceItems\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"服务项目\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603419300001\",\"fatherRemark\":\"服务商城\",\"id\":\"158495322174744348\",\"link\":\"ServerTypeManage\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"服务分类管理\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603419300001\",\"fatherRemark\":\"服务商城\",\"id\":\"120619094200001\",\"link\":\"ServiceOrder\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"服务订单\",\"sort\":2,\"type\":\"2\"},{\"fatherId\":\"120603419300001\",\"fatherRemark\":\"服务商城\",\"id\":\"120619099100001\",\"link\":\"O2OEvaluationManagement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"评价管理\",\"sort\":4,\"type\":\"2\"}],\"remarks\":\"服务商城\",\"sort\":9,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"159860989396139930\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"159860989396139930\",\"fatherRemark\":\"结算管理\",\"id\":\"159861022629882132\",\"link\":\"shopSettlement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"商户结算\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"159860989396139930\",\"fatherRemark\":\"结算管理\",\"id\":\"159903645674618835\",\"link\":\"serviceSettlement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"服务商结算管理\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"159860989396139930\",\"fatherRemark\":\"结算管理\",\"id\":\"159903657582711191\",\"link\":\"couponSettlement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"卡卷结算管理\",\"sort\":3,\"type\":\"2\"},{\"fatherId\":\"159860989396139930\",\"fatherRemark\":\"结算管理\",\"id\":\"159910240540876370\",\"link\":\"mallSettlement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"商城结算\",\"sort\":5,\"type\":\"2\"}],\"remarks\":\"结算管理\",\"sort\":10,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"120603417200001\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120603417200001\",\"fatherRemark\":\"积分管理\",\"id\":\"120619060900001\",\"link\":\"IntegralRules\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"积分规则\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603417200001\",\"fatherRemark\":\"积分管理\",\"id\":\"120619066200001\",\"link\":\"EventsList\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"活动列表\",\"sort\":2,\"type\":\"2\"},{\"fatherId\":\"120603417200001\",\"fatherRemark\":\"积分管理\",\"id\":\"120619070400001\",\"link\":\"PointsDetails\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"积分明细\",\"sort\":3,\"type\":\"2\"}],\"remarks\":\"积分管理\",\"sort\":11,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"120603420500001\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120603420500001\",\"fatherRemark\":\"卡券营销\",\"id\":\"120619105600001\",\"link\":\"CardCouponRules\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120619105600001\",\"fatherRemark\":\"自有卡券规则\",\"id\":\"1162183537892826676\",\"link\":\"CardCouponRules\",\"name\":\"card:shop:reset\",\"permissionsList\":[],\"remarks\":\"商城劵\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120619105600001\",\"fatherRemark\":\"自有卡券规则\",\"id\":\"1162183540223306663\",\"link\":\"CardCouponRules\",\"name\":\"card:shop:reset\",\"permissionsList\":[],\"remarks\":\"服务商劵\",\"sort\":1,\"type\":\"2\"}],\"remarks\":\"自有卡券规则\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603420500001\",\"fatherRemark\":\"卡券营销\",\"id\":\"20380553952625995978\",\"link\":\"CouponOrder\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"卡券订单\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120603420500001\",\"fatherRemark\":\"卡券营销\",\"id\":\"120619109700001\",\"link\":\"ActivityCreation\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120619109700001\",\"fatherRemark\":\"活动创建\",\"id\":\"1162183600556867768\",\"link\":\"ActivityCreation\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"卡卷活动\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120619109700001\",\"fatherRemark\":\"活动创建\",\"id\":\"1162183602842798303\",\"link\":\"ActivityCreation\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"领券中心\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120619109700001\",\"fatherRemark\":\"活动创建\",\"id\":\"1162183604184182407\",\"link\":\"ActivityCreation\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"兑换码活动\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120619109700001\",\"fatherRemark\":\"活动创建\",\"id\":\"1162183606928345782\",\"link\":\"ActivityCreation\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"积分兑换活动\",\"sort\":1,\"type\":\"2\"}],\"remarks\":\"活动创建\",\"sort\":2,\"type\":\"2\"},{\"fatherId\":\"120603420500001\",\"fatherRemark\":\"卡券营销\",\"id\":\"120619113000001\",\"link\":\"PickUpList\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120619113000001\",\"fatherRemark\":\"领取列表\",\"id\":\"1162183679466382154\",\"link\":\"PickUpList\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"服务商劵\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120619113000001\",\"fatherRemark\":\"领取列表\",\"id\":\"1162183683570845286\",\"link\":\"PickUpList\",\"name\":\"marketing:code:add\",\"permissionsList\":[],\"remarks\":\"商城劵\",\"sort\":1,\"type\":\"2\"}],\"remarks\":\"领取列表\",\"sort\":3,\"type\":\"2\"},{\"fatherId\":\"120603420500001\",\"fatherRemark\":\"卡券营销\",\"id\":\"120619115500001\",\"link\":\"UseList\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"120619115500001\",\"fatherRemark\":\"使用列表\",\"id\":\"1162183700189138430\",\"link\":\"UseList\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"服务商劵\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"120619115500001\",\"fatherRemark\":\"使用列表\",\"id\":\"1162183701764011101\",\"link\":\"UseList\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"商城劵\",\"sort\":1,\"type\":\"2\"}],\"remarks\":\"使用列表\",\"sort\":4,\"type\":\"2\"}],\"remarks\":\"卡券营销\",\"sort\":12,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"159797885484860745\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"159797885484860745\",\"fatherRemark\":\"商户管理\",\"id\":\"160785077182605316\",\"link\":\"facilitator\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"服务商管理\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"159797885484860745\",\"fatherRemark\":\"商户管理\",\"id\":\"159799828841578996\",\"link\":\"storeManagement\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"商户管理\",\"sort\":2,\"type\":\"2\"},{\"fatherId\":\"159797885484860745\",\"fatherRemark\":\"商户管理\",\"id\":\"159964148533901131\",\"link\":\"businessLog\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"159964148533901131\",\"fatherRemark\":\"商户业务流水\",\"id\":\"1162183730653084218\",\"link\":\"businessLog\",\"name\":\"marketing:use:export\",\"permissionsList\":[],\"remarks\":\"停车场\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"159964148533901131\",\"fatherRemark\":\"商户业务流水\",\"id\":\"1162183751184031681\",\"link\":\"businessLog\",\"name\":\"marketing:use:export\",\"permissionsList\":[],\"remarks\":\"洗车门店\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"159964148533901131\",\"fatherRemark\":\"商户业务流水\",\"id\":\"1162183753720189304\",\"link\":\"businessLog\",\"name\":\"marketing:use:export\",\"permissionsList\":[],\"remarks\":\"加油站\",\"sort\":1,\"type\":\"2\"}],\"remarks\":\"商户业务流水\",\"sort\":3,\"type\":\"2\"},{\"fatherId\":\"159797885484860745\",\"fatherRemark\":\"商户管理\",\"id\":\"159964160993697993\",\"link\":\"transactionLog\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"159964160993697993\",\"fatherRemark\":\"商户交易流水\",\"id\":\"1162183756926928246\",\"link\":\"transactionLog\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"停车场\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"159964160993697993\",\"fatherRemark\":\"商户交易流水\",\"id\":\"1162183758344850661\",\"link\":\"transactionLog\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"洗车门店\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"159964160993697993\",\"fatherRemark\":\"商户交易流水\",\"id\":\"1162183765964088303\",\"link\":\"transactionLog\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"加油站\",\"sort\":1,\"type\":\"2\"}],\"remarks\":\"商户交易流水\",\"sort\":4,\"type\":\"2\"}],\"remarks\":\"商户管理\",\"sort\":12,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"20980214232533969224\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"测试查询\",\"sort\":13,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"159799692494904200\",\"link\":\"Review\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"复核管理\",\"sort\":16,\"type\":\"2\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"159857952160500569\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"159857952160500569\",\"fatherRemark\":\"平台服务管理\",\"id\":\"159857962221068341\",\"link\":\"npBankInfo\",\"name\":\"Facilitator\",\"permissionsList\":[],\"remarks\":\"二级分行管理\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"159857952160500569\",\"fatherRemark\":\"平台服务管理\",\"id\":\"1161638282743020241\",\"link\":\"/smsSignFlow\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"服务商短信记录\",\"sort\":3,\"type\":\"2\"},{\"fatherId\":\"159857952160500569\",\"fatherRemark\":\"平台服务管理\",\"id\":\"159902542541520513\",\"link\":\"platformService\",\"name\":\"Facilitator\",\"permissionsList\":[],\"remarks\":\"平台服务\",\"sort\":3,\"type\":\"2\"},{\"fatherId\":\"159857952160500569\",\"fatherRemark\":\"平台服务管理\",\"id\":\"1162227917297756304\",\"link\":\"ServiceWhite\",\"name\":\"\",\"permissionsList\":[],\"remarks\":\"白名单\",\"sort\":4,\"type\":\"2\"}],\"remarks\":\"平台服务管理\",\"sort\":17,\"type\":\"1\"},{\"fatherId\":\"0\",\"fatherRemark\":\"主目录\",\"id\":\"d384b5a48e8a11e99d4900163e0a39b0\",\"link\":\"\",\"name\":\"\",\"permissionsList\":[{\"fatherId\":\"d384b5a48e8a11e99d4900163e0a39b0\",\"fatherRemark\":\"系统管理\",\"id\":\"120603431900001\",\"link\":\"UserManagement\",\"name\":\"\",\"remarks\":\"用户管理\",\"sort\":1,\"type\":\"2\"},{\"fatherId\":\"d384b5a48e8a11e99d4900163e0a39b0\",\"fatherRemark\":\"系统管理\",\"id\":\"120603434400001\",\"link\":\"RoleManagement\",\"name\":\"\",\"remarks\":\"角色管理\",\"sort\":2,\"type\":\"2\"},{\"fatherId\":\"d384b5a48e8a11e99d4900163e0a39b0\",\"fatherRemark\":\"系统管理\",\"id\":\"d384bef78e8a11e99d4900163e0a39b0\",\"link\":\"PermissionManagement\",\"name\":\"\",\"remarks\":\"菜单管理\",\"sort\":3,\"type\":\"2\"},{\"fatherId\":\"d384b5a48e8a11e99d4900163e0a39b0\",\"fatherRemark\":\"系统管理\",\"id\":\"120619127600001\",\"link\":\"LoginLog\",\"name\":\"\",\"remarks\":\"登录日志\",\"sort\":4,\"type\":\"2\"},{\"fatherId\":\"d384b5a48e8a11e99d4900163e0a39b0\",\"fatherRemark\":\"系统管理\",\"id\":\"159825132309715430\",\"link\":\"dictManagement\",\"name\":\"\",\"remarks\":\"字典管理\",\"sort\":7,\"type\":\"2\"}],\"remarks\":\"系统管理\",\"sort\":18,\"type\":\"1\"}]},\"message\":\"请求成功\",\"success\":true}");
        return result;
    }

    @At()
    @Ok("redirect:./test2")
    public Object test3() {
       return null;
    }

    @At()
    @Ok("forward:/test/test1")
    public void test4() {
        log.info("request test4");
    }

    @At()
    @Ok("json")
    public Object test5() {
        if(true)
            throw new RuntimeException("test exception");
        return "request test5";
    }
}
